home *** CD-ROM | disk | FTP | other *** search
- Path: warp10.smartlink.net!thomash
- From: thomash@warp10.smartlink.net (Thomas Hackbarth)
- Newsgroups: comp.lang.c++
- Subject: help with bytes -> long
- Date: 6 Mar 1996 22:30:41 GMT
- Organization: SmartLink.net Premier ISP 805-294-1273
- Message-ID: <4hl3mh$oue@frodo.smartlink.net>
- NNTP-Posting-Host: smartlink.net
- X-Newsreader: TIN [version 1.2 PL2]
-
- I suck at bit manipulation. I need a macro to convert RGB to a long so I
- get this output
-
- RED GREEN BLUE -> LONG
- FF 00 FF FF 00 FF 00
-
- Using Windows RGB macro I get this
-
- RED GREEN BLUE -> COLORREF
- FF 00 FF 00 FF 00 FF
-
- Anyone have any good Ideas?
-
- Thanks
- Thomas
-
-
-